=== TEST nested_closures ===
project.buildscripts[1]('main') {
  for config in configurations:

    my_var = config.get_some_value()
    config.runtime 'my-dependency-name', on_resolve={
      return do_not_resolve(my_var)
    }
}
=== EXPECTS ===
def _closure_1(self, *arguments, **kwarguments):
    for config in configurations:
        my_var = config.get_some_value()

        def _closure_1_closure_1(self, *arguments, **kwarguments):
            return do_not_resolve(my_var)
        config.runtime('my-dependency-name', on_resolve=_closure_1_closure_1)


project.buildscripts[1]('main')(_closure_1)
=== END ===
